package com.example.demo.mapper;

import com.example.demo.domain.Volunteer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VolunteerMapper {
    int InsertVolunteer(Volunteer volunteer);
    Volunteer SelectVolunteer(Integer id);
    List<Volunteer> SelectAll();
    int DeleteVolunteer(Integer id);
    int UpdateVolunteer(Volunteer volunteer);
    int SelectAge(Integer min,Integer max);
}
